scale: remove unused code
authorCosimo Cecchi <cosimoc@gnome.org>
Sun, 4 May 2014 15:13:34 +0000 (17:13 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Fri, 9 May 2014 18:02:43 +0000 (11:02 -0700)
gtk/gtkscale.c

index ace205347418dea50f9ada4d6b8b0b2abf0ae3e1..8c317a20960f14f0c17fb4bb1ad9bc43ad6b83ba 100644 (file)
@@ -1131,14 +1131,12 @@ gtk_scale_draw (GtkWidget *widget,
   GtkRange *range = GTK_RANGE (scale);
   GtkStyleContext *context;
   gint *marks;
-  gint focus_padding;
   gint slider_width;
   gint value_spacing;
   gint min_sep = 4;
 
   context = gtk_widget_get_style_context (widget);
   gtk_widget_style_get (widget,
-                        "focus-padding", &focus_padding,
                         "slider-width", &slider_width,
                         "value-spacing", &value_spacing,
                         NULL);